<#if (view??&&view?size>0)>
	<input type="hidden" id="${Contants.FORM_KEY_BUSENESSID+""}" name="${Contants.FORM_KEY_BUSENESSID+""}" value="${busenessId!""}" /> 
	<#assign mainTable = view[0]!"" >
	 <div id="mainTab" class="easyui-panel" title="${mainTable.processnodename}(${mainTable.username} ${mainTable.dealtime} ${mainTable.action})" style="width:100%;height:'auto';">
 		<input type="hidden" id="processNodeId_0" value="${mainTable.processnodeid}"/>
		<input type="hidden" id="taskId_0" value="${mainTable.taskid}"/>
		<table id='${mainTable.taskid}'  ></table>
     </div>
	<div id="nodeAcc" class="easyui-accordion" style="width:100%;height:'auto';overflow: hidden;">   
	<#assign index=0>
	<#assign flag="false">
	<#list view as v >
		<#if (index!=0)>
			<#if ((index+1)==(view?size))>
				<#assign flag="true">
				<input type="hidden" id="selectFlag" value="${index}"/>
			</#if>
			<div id="subTab_${index}" title="${v.processnodename}(${v.username} ${v.dealtime} ${v.action})" data-options="iconCls:'icon-save',selected:${flag}" style="overflow:auto;">
				<input type="hidden" id="processNodeId_${index}" value="${v.processnodeid}"/>
				<input type="hidden" id="taskId_${index}" value="${v.taskid}"/>
				<input type="hidden" id="pained_${index}" value="false"/>
				<table id='${v.taskid}'  ></table>
			</div>
		</#if>
		<#assign index=index+1>
	</#list>  
	</div>  
</#if>
	
